
// ========================================================================================================

var jsLogo = {
    "main": [{
        "layout": [{
            "tag": "div",
            "id": "logo",
            "params": [],
            "nodeRifer": "schema",
            "innerHTML": "<img src=\"logo.gif\" id=\"logoimg\" align=\"bottom\"/>",
            "style": ["top:8px", "position: absolute", "backgroundColor:#f0f2f4"]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "menubar01",
            "params": [],
            "nodeRifer": "logo",
            "innerHTML": "",
            "style": ["top:-10px", "left:0px", "height:20px", "width:96px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('logo'), 'move');
                    document.getElementById('fixmodify001').src = 'img/fix_modify_enable.gif';
                },
                "onclick": ""
            }]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "fixmodify01",
            "params": [],
            "nodeRifer": "logo",
            "innerHTML": "<img id='fixmodify001' src='img/fix_modify_enable.gif' width='14' height='16' onmousedown=\"this.src='img/fix_modify_disable.gif'\"/>",
            "style": ["position:absolute", "top:-10px", "left:79px"]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "title01",
            "params": [],
            "nodeRifer": "logo",
            "innerHTML": "<span id='title' class='title-blue'>logo</span>",
            "style": ["position:absolute", "top:-8px", "left:10%"]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "statusbar01",
            "params": [],
            "nodeRifer": "logo",
            "innerHTML": "",
            "style": ["top:95px", "left:0px", "height:15px", "width:96px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('logo'), 'resize', buildDesign.renderize, ['logo', 'resize01', 'fixmodify01', 'menubar01', 'statusbar01']);
                },
                "onclick": ""
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "resize01",
            "params": [],
            "nodeRifer": "logo",
            "innerHTML": "<img id='resize' src='img/resizediv.gif'/>",
            "style": ["position:absolute", "top:95px", "left:80px"]
        
        }]
    }]
};


// ========================================================================================================				


var jsRegion1 = {
    "main": [{
        "layout": [{
            "tag": "div",
            "id": "region1",
            "params": [],
            "nodeRifer": "schema",
            "innerHTML": "<div id='map_canvas' style='width: 500px; height: 300px'></div>",
            "style": ["top:155px", "left:10px", "width:200px", "height:20px", "cursor:default", "backgroundColor:#f0f2f4"],
            "events": [{
                "onmousedown": function(){
                }
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "menubar03",
            "params": [],
            "nodeRifer": "region1",
            "innerHTML": "",
            "style": ["top:-17px", "left:0px", "height:20px", "width:210px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('region1'), 'move');
                    document.getElementById('fixmodify002').src = 'img/fix_modify_enable.gif';
                },
                "onclick": ""
            }]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "statusbar03",
            "params": [],
            "nodeRifer": "region1",
            "innerHTML": "",
            "style": ["top:15px", "left:0px", "height:15px", "width:210px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('region1'), 'resize', buildDesign.renderize, ['region1', 'resize03', 'fixmodify03', 'menubar03', 'statusbar03']);
                },
                "onclick": ""
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "title",
            "params": [],
            "nodeRifer": "region1",
            "innerHTML": "<span id='title' class='title-blue'>Map</span>",
            "style": ["position:absolute", "top:-15px", "left:10px"]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "resize03",
            "params": [],
            "nodeRifer": "region1",
            "innerHTML": "<img id='resize' src='img/resizediv.gif'/>",
            "style": ["position:absolute", "top:15px", "left:190px"]
        
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "fixmodify03",
            "params": [],
            "nodeRifer": "region1",
            "innerHTML": "<img id='fixmodify002' src='img/fix_modify_enable.gif' width='14' height='16' onmousedown=\"this.src='img/fix_modify_disable.gif'\"/>",
            "style": ["position:absolute", "top:-15px", "left:190px"]
        }]
    }]
};


// ========================================================================================================				


var jsRegion2 = {
    "main": [{
        "layout": [{
            "tag": "div",
            "id": "region2",
            "params": [],
            "nodeRifer": "schema",
            "innerHTML": "",
            "style": ["top:25px", "left:300px", "width:200px", "backgroundColor:#f0f2f4"],
            "events": [{
                "onmousedown": function(){
                }
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "menubar04",
            "params": [],
            "nodeRifer": "region2",
            "innerHTML": "",
            "style": ["top:-10px", "left:0px", "height:20px", "width:180px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('region2'), 'move');
                    document.getElementById('fixmodify004').src = 'img/fix_modify_enable.gif';
                },
                "onclick": ""
            }]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "title04",
            "params": [],
            "nodeRifer": "region2",
            "innerHTML": "<span id='title004' class='title-blue'>Region 2</span>",
            "style": ["position:absolute", "top:-8px", "left:10px"]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "fixmodify04",
            "params": [],
            "nodeRifer": "region2",
            "innerHTML": "<img id='fixmodify004' src='img/fix_modify_enable.gif' width='14' height='16' onmousedown=\"this.src='img/fix_modify_disable.gif'\"/>",
            "style": ["position:absolute", "top:-10px", "left:160px"]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "statusbar04",
            "params": [],
            "nodeRifer": "region2",
            "innerHTML": "",
            "style": ["top:20px", "left:0px", "height:15px", "width:180px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('region2'), 'resize', buildDesign.renderize, ['region2', 'resize04', 'fixmodify04', 'menubar04', 'statusbar04']);
                },
                "onclick": ""
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "resize04",
            "params": [],
            "nodeRifer": "region2",
            "innerHTML": "<img id='resize' src='img/resizediv.gif'/>",
            "style": ["position:absolute", "top:20px", "left:160px"]
        
        }]
    }]
};


// ========================================================================================================				


var jsRegion3 = {
    "main": [{
        "layout": [{
            "tag": "div",
            "id": "region3",
            "params": [],
            "nodeRifer": "schema",
            "innerHTML": "",
            "style": ["top:25px", "left:300px", "width:200px", "backgroundColor:#f0f2f4"],
            "events": [{
                "onmousedown": function(){
                }
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "menubar05",
            "params": [],
            "nodeRifer": "region3",
            "innerHTML": "",
            "style": ["top:-10px", "left:0px", "height:20px", "width:180px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('region3'), 'move');
                    document.getElementById('fixmodify005').src = 'img/fix_modify_enable.gif';
                },
                "onclick": ""
            }]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "title05",
            "params": [],
            "nodeRifer": "region3",
            "innerHTML": "<span id='title005' class='title-blue'>Region 3</span>",
            "style": ["position:absolute", "top:-8px", "left:10px"]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "fixmodify05",
            "params": [],
            "nodeRifer": "region3",
            "innerHTML": "<img id='fixmodify005' src='img/fix_modify_enable.gif' width='14' height='16' onmousedown=\"this.src='img/fix_modify_disable.gif'\"/>",
            "style": ["position:absolute", "top:-10px", "left:160px"]
        }]
    
    }, {
        "layout": [{
            "tag": "div",
            "id": "statusbar05",
            "params": [],
            "nodeRifer": "region3",
            "innerHTML": "",
            "style": ["top:20px", "left:0px", "height:15px", "width:180px", "backgroundImage:url(img/white-top-bottom.gif)"],
            "events": [{
                "onmousedown": function(){
                    dragdrop.addEvent(document.getElementById('region3'), 'resize', buildDesign.renderize, ['region3', 'resize05', 'fixmodify05', 'menubar05', 'statusbar05']);
                },
                "onclick": ""
            }]
        }]
    }, {
        "layout": [{
            "tag": "div",
            "id": "resize05",
            "params": [],
            "nodeRifer": "region3",
            "innerHTML": "<img id='resize' src='img/resizediv.gif'/>",
            "style": ["position:absolute", "top:20px", "left:160px"]
        
        }]
    }]
};







